package com.toolkit.enumData;

public enum ExceptionCodeMsg {
    TOKEN_VALID_CODE(10000,"用户校验失败"),
    REPEAT_SUBMIT_ERROR_CODE(10001,"重复提交"),
    USERNAME_NULL_CODE(10002,"用户名为空"),
    SERVER_ERROR_CODE(500,"服务器异常"),
    REPAY_DATE_ERROR(10001,"提前还款时间不能大于贷款期限"),
    WX_PLAT_GET_OPENID_ERROR_CODE(10002,"微信获取openId为空"),
    WX_PLAT_GET_DATA_ERROR_CODE(10003,"微信获取数据异常");
    private int code ;
    private String msg ;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }


    ExceptionCodeMsg(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

}
